Optimal. Leaf size=71 \[ \frac{1}{3} x^3 \left (e (a e+2 b d)+c d^2\right )+d x (2 a e+b d)-\frac{a d^2}{x}+\frac{1}{5} e x^5 (b e+2 c d)+\frac{1}{7} c e^2 x^7 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.12503, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.04 \[ \frac{1}{3} x^3 \left (e (a e+2 b d)+c d^2\right )+d x (2 a e+b d)-\frac{a d^2}{x}+\frac{1}{5} e x^5 (b e+2 c d)+\frac{1}{7} c e^2 x^7 \]
Antiderivative was successfully verified.
[In] Int[((d + e*x^2)^2*(a + b*x^2 + c*x^4))/x^2,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a d^{2}}{x} + \frac{c e^{2} x^{7}}{7} + \frac{e x^{5} \left (b e + 2 c d\right )}{5} + x^{3} \left (\frac{a e^{2}}{3} + \frac{2 b d e}{3} + \frac{c d^{2}}{3}\right ) + \frac{d \left (2 a e + b d\right ) \int b\, dx}{b} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((e*x**2+d)**2*(c*x**4+b*x**2+a)/x**2,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0559375, size = 71, normalized size = 1. \[ \frac{1}{3} x^3 \left (a e^2+2 b d e+c d^2\right )+d x (2 a e+b d)-\frac{a d^2}{x}+\frac{1}{5} e x^5 (b e+2 c d)+\frac{1}{7} c e^2 x^7 \]
Antiderivative was successfully verified.
[In] Integrate[((d + e*x^2)^2*(a + b*x^2 + c*x^4))/x^2,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.006, size = 75, normalized size = 1.1 \[{\frac{c{e}^{2}{x}^{7}}{7}}+{\frac{{x}^{5}b{e}^{2}}{5}}+{\frac{2\,{x}^{5}cde}{5}}+{\frac{{x}^{3}a{e}^{2}}{3}}+{\frac{2\,{x}^{3}bde}{3}}+{\frac{{x}^{3}c{d}^{2}}{3}}+2\,xade+xb{d}^{2}-{\frac{a{d}^{2}}{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((e*x^2+d)^2*(c*x^4+b*x^2+a)/x^2,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.700418, size = 93, normalized size = 1.31 \[ \frac{1}{7} \, c e^{2} x^{7} + \frac{1}{5} \,{\left (2 \, c d e + b e^{2}\right )} x^{5} + \frac{1}{3} \,{\left (c d^{2} + 2 \, b d e + a e^{2}\right )} x^{3} - \frac{a d^{2}}{x} +{\left (b d^{2} + 2 \, a d e\right )} x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + b*x^2 + a)*(e*x^2 + d)^2/x^2,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.245399, size = 100, normalized size = 1.41 \[ \frac{15 \, c e^{2} x^{8} + 21 \,{\left (2 \, c d e + b e^{2}\right )} x^{6} + 35 \,{\left (c d^{2} + 2 \, b d e + a e^{2}\right )} x^{4} - 105 \, a d^{2} + 105 \,{\left (b d^{2} + 2 \, a d e\right )} x^{2}}{105 \, x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + b*x^2 + a)*(e*x^2 + d)^2/x^2,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.25525, size = 73, normalized size = 1.03 \[ - \frac{a d^{2}}{x} + \frac{c e^{2} x^{7}}{7} + x^{5} \left (\frac{b e^{2}}{5} + \frac{2 c d e}{5}\right ) + x^{3} \left (\frac{a e^{2}}{3} + \frac{2 b d e}{3} + \frac{c d^{2}}{3}\right ) + x \left (2 a d e + b d^{2}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x**2+d)**2*(c*x**4+b*x**2+a)/x**2,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.266909, size = 100, normalized size = 1.41 \[ \frac{1}{7} \, c x^{7} e^{2} + \frac{2}{5} \, c d x^{5} e + \frac{1}{5} \, b x^{5} e^{2} + \frac{1}{3} \, c d^{2} x^{3} + \frac{2}{3} \, b d x^{3} e + \frac{1}{3} \, a x^{3} e^{2} + b d^{2} x + 2 \, a d x e - \frac{a d^{2}}{x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + b*x^2 + a)*(e*x^2 + d)^2/x^2,x, algorithm="giac")
[Out]